package mainView;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;

import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JPanel;
import javax.swing.JSeparator;
import javax.swing.WindowConstants;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class ServerView extends javax.swing.JFrame {
	
	private static final long serialVersionUID = 1L;
	
	private JMenuBar jMenuBar1;
	private JMenuItem jMenuItemMotorista;
	private JPanel jPanel;
	private JMenuItem jMenuItemIpva;
	private JMenuItem jMenuItemFine;
	private JMenu jMenuService;
	private JMenuItem jMenuItemSensor;
	private JSeparator jSeparator1;
	private JMenuItem jMenuItemModelo;
	private JMenuItem jMenuItemVeiculo;
	private JMenu jMenuCarro;
	private JMenu jMenuCadastro;
	private JMenuItem jMenuItemLog;
	private JMenu jMenuArquivo;

	public ServerView() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			GridBagLayout thisLayout = new GridBagLayout();
			thisLayout.rowWeights = new double[] {0.1};
			thisLayout.rowHeights = new int[] {7};
			thisLayout.columnWeights = new double[] {0.1};
			thisLayout.columnWidths = new int[] {7};
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(thisLayout);
			{
				jPanel = new JPanel();
				GridBagLayout jPanelLayout = new GridBagLayout();
				jPanelLayout.columnWidths = new int[] {7};
				jPanelLayout.rowHeights = new int[] {7};
				jPanelLayout.columnWeights = new double[] {0.1};
				jPanelLayout.rowWeights = new double[] {0.1};
				getContentPane().add(jPanel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				jPanel.setLayout(jPanelLayout);
			}
			{
				jMenuBar1 = new JMenuBar();
				setJMenuBar(jMenuBar1);
				{
					jMenuArquivo = new JMenu();
					jMenuBar1.add(jMenuArquivo);
					jMenuArquivo.setText("Arquivo");
					{
						jMenuItemLog = new JMenuItem();
						jMenuArquivo.add(jMenuItemLog);
						jMenuItemLog.setText("Log");
					}
				}				
				{
					jMenuCadastro = new JMenu();
					jMenuBar1.add(jMenuCadastro);
					jMenuCadastro.setText("Cadastro");
					{
						jMenuItemMotorista = new JMenuItem();
						jMenuCadastro.add(jMenuItemMotorista);
						jMenuItemMotorista.setText("Motorista");
					}
					{
						jMenuCarro = new JMenu();
						jMenuCadastro.add(jMenuCarro);
						jMenuCarro.setText("Carro");
						{
							jMenuItemVeiculo = new JMenuItem();
							jMenuCarro.add(jMenuItemVeiculo);
							jMenuItemVeiculo.setText("Veículo");
						}
						{
							jMenuItemModelo = new JMenuItem();
							jMenuCarro.add(jMenuItemModelo);
							jMenuItemModelo.setText("Modelo");
						}
					}
					{
						jMenuService = new JMenu();
						jMenuCadastro.add(jMenuService);
						jMenuService.setText("Serviços");
						{
							jMenuItemFine = new JMenuItem();
							jMenuService.add(jMenuItemFine);
							jMenuItemFine.setText("Multas");
						}
						{
							jMenuItemIpva = new JMenuItem();
							jMenuService.add(jMenuItemIpva);
							jMenuItemIpva.setText("Ipva");
						}
					}					
					{
						jSeparator1 = new JSeparator();
						jMenuCadastro.add(jSeparator1);
					}
					{
						jMenuItemSensor = new JMenuItem();
						jMenuCadastro.add(jMenuItemSensor);
						jMenuItemSensor.setText("Sensor");
					}
				}
			}
			pack();
			this.setSize(500, 400);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

	public JMenuItem getjMenuItemMotorista() {
		return jMenuItemMotorista;
	}

	public JMenuItem getjMenuItemSensor() {
		return jMenuItemSensor;
	}

	public JMenuItem getjMenuItemModelo() {
		return jMenuItemModelo;
	}

	public JMenuItem getjMenuItemVeiculo() {
		return jMenuItemVeiculo;
	}

	public JMenuItem getjMenuItemLog() {
		return jMenuItemLog;
	}		
	
	public JMenuItem getjMenuItemIpva() {
		return jMenuItemIpva;
	}

	public JMenuItem getjMenuItemFine() {
		return jMenuItemFine;
	}

	public JPanel getjPanel() {
		return jPanel;
	}	

}
